#ifndef STARTGAME_H
#define STARTGAME_H


#include <QWidget>
#include "mainwindow.h"
#include<QPaintEvent>
#include<QPainter>

#define background "://bg"
#define WIDTH = 780;
#define HEIGHT = 780;
#define TITLE = "欢迎进入游戏！"

namespace Ui {
class startgame;
}

class startgame : public QWidget
{
    Q_OBJECT

public:
    explicit startgame(QWidget *parent = nullptr);
    ~startgame();

    MainWindow* ppage2 = NULL;
    QPixmap background2;
    void Paint(QPaintEvent *);
    void initial();

private slots:
    void on_pushButton_clicked();

private:
    Ui::startgame *ui;
};

#endif // STARTGAME_H
